package com.bobi.tfca.model.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 消息状态枚举，暂时只用送达和已读两个状态
 * @author 李文发
 * @date 2024/4/3
 */
@Getter
@AllArgsConstructor
public enum MessageStatusEnum {

    /**
     * 已发送
     */
    SENT(0, "已发送"),
    /**
     * 已送达
     */
    RECEIVED(1, "已送达"),
    /**
     * 已读
     */
    READ(2, "已读");

    private final Integer code;
    private final String desc;
}
